package com.xiake.consultsystem.mapper;

import com.xiake.consultsystem.pojo.po.Counselor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiake.consultsystem.pojo.vo.AvailableAppointListVo;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mr.Chen
 * @since 2022-11-13
 */
public interface CounselorMapper extends BaseMapper<Counselor> {

    //根据日期获取对应的时间段、咨询师、预约状态
     List<AvailableAppointListVo> showAvailableCounselor1(Date date) ;

    List<AvailableAppointListVo> showAvailableCounselor2(Date date,Long counselorId) ;
}
